package cn.livingCloud.dto;

import cn.livingCloud.entity.core.Employee;

import java.util.List;

/**
 * Created by DingJie on 2016/5/30.
 */
public class EmployeeListDto extends Page<EmployeeDto> {
    private String name;
    private String gender;
    private String phone;
    private String dept;

    private String deptUuid;

    public EmployeeListDto() {
    }

    @Override
    public void addAllList(List itemList) {
        for (Object item : itemList) {
            list.add(new EmployeeDto((Employee) item));
        }
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDeptUuid() {
        return deptUuid;
    }

    public EmployeeListDto setDeptUuid(String deptUuid) {
        this.deptUuid = deptUuid;
        return this;
    }
}
